<?php
	$ssFilter = $this->arrParam['ssFilter'];
	$langTmp = $ssFilter['lang'];
	if($langTmp == ''){
		$langTmp = 'vi';
	}else{
		$langTmp = $ssFilter['lang'];
	}
	
	$page = 1;
	
	$lang = $this->arrParam['lang'];
    if(empty($lang)){
    	$lang = 'vi';
    }else{
    	$lang = $this->arrParam['lang'];
    }
	
	$urlHome 		= array('module'=>'default','controller'=>'index','action'=>'index','lang'=>$langTmp);
   	$linkHome 		= $this->url($urlHome,'home');
   	
    $urlProducts 		= array('module'=>'products','controller'=>'index','action'=>'index','lang'=>$langTmp,'page'=>$page);
    $linkProducts 		= $this->url($urlProducts,'products');

    $urlNews	= array('module'=>'news','controller'=>'index','action'=>'category','lang'=>$langTmp,'page'=>$page);
    $linkNews 	= $this->url($urlNews,'news-category');
    
    $urlAccount	= array('module'=>'default','controller'=>'index','action'=>'account','lang'=>$langTmp);
    $linkAccount 	= $this->url($urlAccount,'account');
    
    $urlCart	= array('module'=>'products','controller'=>'index','action'=>'cart','lang'=>$langTmp);
    $linkCart 	= $this->url($urlCart,'cart');
    
    $tblMems	= new Zendvn_Models_Members();
    $totalMembs	= $tblMems->countItem();
    
?>

<div class="footer">
        	<div class="frame-footer">
            	<div class="group1-foot width-100">
                    <div class="col-footer width-25 cols0">
                        <div class="cnt-col-footer">
                            <div class="title-footer"><span>Liên hệ</span> </div>
                            <ul>
                                <li><a href="#">
                                        <img src="<?php echo $this->imgUrl; ?>/icons/icon-yahoo.png" width="64" height="16"/> 
                                        <p>Mr.Hùng : 01262.541.431</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#"><img src="<?php echo $this->imgUrl; ?>/icons/icon-phone.png" /></a>
                                    <a href="#"><img src="<?php echo $this->imgUrl; ?>/icons/icon-skype.png" /></a>
                                    <a href="#"><p>(08).35395221</p></a>
                                </li>
                                <li><a href="#">
                                        <img src="<?php echo $this->imgUrl; ?>/icons/icon-mail.png" />
                                        <p>lehung3011@gmail.com</p>
                                    </a>
                                </li>
                            </ul>
                            <div class="footer-link"><a href="#">Chi tiết</a></div>
                        </div>
                    </div>
                    <div class="col-footer width-25 cols1">
                        <div class="cnt-col-footer">
                            <div class="title-footer"><span>Website chúng tôi</span> </div>
                            <ul>
                                <li><a href="<?php echo $linkAccount; ?>">Tài khoản của bạn</a></li>
                                <li><a href="<?php echo $linkProducts; ?>">Sản phẩm</a></li>
                                <li><a href="<?php echo $linkNews; ?>">Tin tức</a></li>
                                <li><a href="<?php echo $linkCart; ?>">Giỏ hàng của bạn</a></li>
                                <li><a href="<?php echo $linkHome; ?>">Trang chủ</a></li> 
                            </ul>
                        </div>
                    </div>
                    <div class="col-footer width-25 cols2">
                        <div class="cnt-col-footer">
                            <div class="title-footer"><span>Thống kê</span> </div>
                            <span class="tk01">Đang online</span> <p class="tk02">:</p> 
                            <p class="tk03"><?php require('includes/user_online.php'); ?></p><br />
                            <span class="tk01">Thành viên</span> <p class="tk02">:</p> 
                            <p class="tk03"><?php echo $totalMembs; ?></p><br />
                            <span class="tk01">Lượt truy cập</span> <p class="tk02">:</p> 
                            <p class="tk03"><?php require('includes/visiters.php'); ?></p><br />
                        
                        </div>
                    </div>
                </div>  <!-----------End Group 1-------->
                
                <div class="group-foot2 width-100">
                	<div class="link-connect width-20">
                        <a class="link" href="#"><span class="face"></span></a>
                        <a class="link" href="#"><span class="twet"></span></a>
                        <a class="link" href="#"><span class="goog"></span></a>
                    </div>
                </div>
                
                <div class="group-foot3 width-100">
                	<div class="copyright">
                    	<p>Copyright © 2013 Hội doanh nghiệp quận 9. Ltd. All rights reserved.</p>
                    </div>
                </div>
            </div>  <!------- End frame-footer------>
        </div>
        <!--------------------FOOTER (End) ------------------------>
</div>

</body>
</html>
